package com.ls.controller;

import com.ls.service.ICustomerService;
import com.ls.service.IOrderRecordService;
import com.ls.service.ISmsRecordService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  TODO 系统首页相关接口
 * </p>
 *
 * @author pengyu
 * @since 2020-05-25
 */
@RestController
@RequestMapping("/firstPage")
@RequiredArgsConstructor
public class FirstPageController {

    private final ICustomerService customerService;
//    private final IOrderRecordService orderRecordService;
    private final ISmsRecordService smsRecordService;


    /** 通过省份编码查询城市列表 */
//    @GetMapping(value = "getByProvinceCode")
//    public ResultData<City> getByProvinceCode(@RequestParam  Integer provinceCode) {
//        return ResultData.successData(service.list(new LambdaQueryWrapper<City>().eq(City::getProvinceCode ,provinceCode)));
//    }

}

